from django.contrib import admin
from Record.models import Record
# Register your models here.

@admin.register(Record)
class recordAdmin(admin.ModelAdmin):
    list_display_links = ['id','student_id']
    # 显示的列表信息
    list_display = ('id','student_id','course','grade','create_time','modify_time')
    # 搜索的字段
    search_fields = ('id','student_id','course','grade')